package com.zzvcom.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zzvcom.persist.dao.UserDao;
import com.zzvcom.persist.model.user.User;
import com.zzvcom.template.hibernate.BaseManager;
import com.zzvcom.template.hibernate.DefaultDao;
@Service
@Transactional
public class UserManager extends BaseManager<User,String>
{
   
    private UserDao entityDao;    


    @Override
    protected DefaultDao<User, String> getEntityDao()
    {
        // TODO Auto-generated method stub
        return entityDao;
    }
    @Autowired
    public void setEntityDao(UserDao entityDao)
    {
        this.entityDao = entityDao;
    }

}
